﻿using System;
using SqlSugar;

namespace WebApplication11.Models
{
    [SugarTable("message")]
    public class message
    {
        [SugarColumn(ColumnName = "leader")]
        public String Leader { get; set; }

        [SugarColumn(ColumnName = "num")]
        public int Num { get; set; }
        
        [SugarColumn(ColumnName = "name")]
        public String Name { get; set; }
    
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreUpdate = true, IsOnlyIgnoreInsert = true)]
        public int Id { get; set; }
    }
}
